const activityRouter = [
  {
    path: '/activityList',
    name: 'activityList',
    title: '活动列表',
    component: resolve => require(['views/activity/list/index.vue'], resolve),
    hidden: false
  },
  {
    path: '/activityAdd',
    name: 'activityAdd',
    component: resolve => require(['views/activity/add/AddActivity'], resolve),
    title: '添加活动',
    hidden: true
  },
  {
    path: '/actAdd',
    name: 'actAdd',
    component: resolve => require(['views/activity/addPage/index'], resolve),
    title: '添加活动',
    hidden: true
  },
  {
    path: '/actEdit',
    name: 'actEdit',
    component: resolve => require(['views/activity/editPage/index'], resolve),
    title: '添加活动',
    hidden: true
  },
  {
    path: '/activityEdit/:actId/:status/:type',
    name: 'ActivityEdit',
    component: resolve => require(['views/activity/edit/EditActivity'], resolve),
    title: '编辑活动',
    hidden: true
  },
  {
    path: '/activityLook',
    name: 'activityLook',
    component: resolve => require(['views/activity/list/ActivityLook'], resolve),
    title: '查看活动',
    hidden: true
  }
]

export {
    activityRouter
}
